<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<c:set var="grant_code"><x:out select="$xmlData/data/proposal/grant_code" /></c:set>
<c:set var="sub_grant_code"><x:out select="$xmlData/data/proposal/sub_grant_code" /></c:set>

<div class="t_bar">项目预算经费（单位：万元）</div>
<table class="table01 t_css" width="100%" border="0" cellpadding="0" id="tblfunds"
	cellspacing="1">
	<tr>
	    <td width="30%" align="center">1.总投资</td>
		<td colspan="2" width="70%" align="center">
		<x:out select="$xmlData/data/budget/invest_detail/total" />
		</td>
	</tr>
	<tr>
	    <td rowspan="2" align="center" width="30%">2.已筹集资金</td>
	    <td align="center" width="30%">单位自出</td>
	    <td  align="center" width="40%">
			<x:out select="$xmlData/data/budget/invest_detail/finish_seft" />
					 
		</td>
	</tr>
	<tr class="li_2">
	   <td align="center" width="30%">其他资金</td>
	   <td  align="center" width="40%">
			<x:out select="$xmlData/data/budget/invest_detail/finish_country" />
		</td>
	</tr>
	<tr>
	   <td rowspan="2" align="center" width="30%">3.尚欠缺经费</td>
	   <td align="center" width="30%">单位自筹</td>
	   <td align="center" width="40%">
			<x:out select="$xmlData/data/budget/invest_detail/need_seft" />
	    </td>
	</tr>
	<tr class="li_2">
	   <td align="center" width="30%">申请区项目资金</td>
	   <td  align="center" width="40%">
			<x:out select="$xmlData/data/budget/invest_detail/need_country" />
	    </td>
	</tr>
</table>
<br>
<br>
<div class="t_bar">申请区项目资金用途</div>
<table class="table01" width="100%" border="0" cellpadding="0" style="table-layout: fixed; word-break: break-all; word-wrap: break-word"
	id="tblfinancialplans" cellspacing="1">
    <thead>
		<tr>
			<th class="TblHead" align="center" width="5%">序号</th>
			<th class="TblHead" align="center" width="30%">费用类别</th>
			<th class="TblHead" align="center" width="20%">金额（万元） </th>
			<th class="TblHead" align="center" width="40%">具体用途 </th>
		</tr>
			</thead>
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/financialplans/financialplan" var="financialplan">
					<c:choose>
						<c:when test="${index<10}" >
						<c:set value="0" var="flag" scope="page"/>
						</c:when>
						<c:otherwise>
						<c:set value="" var="flag" scope="page"/>
						</c:otherwise>
					</c:choose>
					<tr>
						<td style="text-align:center;">
							${index+1}
						</td>
						<td style="text-align:center;">
							<x:out select="$financialplan/category" /> 
						</td>
						<td style="text-align:center;">
							<x:out select="$financialplan/money" /> 
						</td>
						<td style="text-align:center;">
							<x:out select="$financialplan/use" /> 
						</td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
				</tbody>
			</table>
			
